package thread.pool.core.vo;

import lombok.Data;

@Data
public class PoolStatusVo {
    /**
     * 核心线程数
     */
    private Integer corePoolSize = 2;
    /**
     * 最大线程数
     */
    private Integer maxPoolSize = 20;
    /**
     * 线程存活时间
     */
    private Long keepAliveTime = 10L;
    /**
     * 队列大小
     */
    private Integer dequeSize = 500;
    /**
     * 队列中剩余任务数量
     */
    private Integer taskCount;
    /**
     * 线程名称
     */
    private String poolName = "pool";

    /**
     * 心跳时间
     */
    private Integer beatTime = 10;
}
